<%@ taglib prefix="from" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<style>
    .app {
        position: relative;
        height: 100%;
    }
    .content-wrap {
        position: relative;
        height: 100%;
    }
    .table {
        width:60%;
        border-spacing:0;
        margin-bottom: 10px;
        background-color:transparent;
        margin:0 auto;
    }
    .table-bordered {
        border: 1px solid #e3e6f3;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        border-collapse: separate;
    }
    .text-center{
        text-align: center;
    }
    tbody > tr > td, .table > tfoot > tr > td {
        border-color: #e3e6f3;
    }
    .table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
        border: 1px solid #ddd;
    }
    .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
        padding: 8px;
        line-height: 1.42857143;
        vertical-align: top;
        border-top: 1px solid #ddd;
    }
    td, th {
        display: table-cell;
        vertical-align: inherit;
    }
    .table-bordered {
        border: 1px solid #e3e6f3;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        border-collapse: separate;
    }
</style>
<div class="app">
    <div class="content-wrap">
        <div class="text-center">
            <p style="font-size: 24px;font-weight:bold ">安平博爱医院</p>
            <p style="font-size: 18px;font-weight:bold ">医嘱执行单</p>
        </div>
        <div>
            <span style="padding-left:360px;">${type}</span>
            <span>&nbsp;&nbsp;&nbsp;${patVisit.patVisitIndex.name}</span>
            <span style="padding-left:400px;">执行日期:${date}</span>
        </div>
        <table class="table table-bordered mg-t datatable">
            <thead>
            <tr>
                <th>项目名称</th>
                <th>频率</th>
                <th>医生说明</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${list}" var="orders">
                <tr>
                    <td>${orders.orderText}</td>
                    <td>${orders.performFreq}</td>
                    <td>${orders.doctInstruction}</td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>
</div>


